home *** CD-ROM | disk | FTP | other *** search
/ Programming a Multiplayer FPS in DirectX / Programming a Multiplayer FPS in DirectX (Companion CD).iso / Paint Shop Pro / PSP900enTR.exe / Data1.cab / _8CEB519B0A4149D0A832223AA54F6E4A < prev    next >
Encoding:
Text File  |  2004-08-16  |  7.9 KB  |  192 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <HTML>
  3. <HEAD>
  4. <!-- Need to translate the title. -->
  5. <TITLE>Add text on a path - An example</TITLE>
  6. <!-- Do NOT edit from here... -->
  7. <SCRIPT LANGUAGE="JavaScript">
  8. <!--
  9.  
  10. function MM_goToURL() { //v3.0
  11.   var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  12.   for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
  13. }
  14. //-->
  15.  
  16. <!--
  17.  
  18. //  The "refresh" function implementations are identical
  19. //  to our regular "JavaScript-Refresh" example.  The only
  20. //  difference from our JavaScript Refresh example is
  21. //  we do not have a doLoad function that starts our
  22. //  refresh timer (since we use a refresh button).
  23.  
  24. var sURL = unescape(window.location.pathname);
  25.  
  26. function refresh()
  27. {
  28.     window.location.href = sURL;
  29. }
  30.  
  31. <!--
  32. function MM_openBrWindow(theURL,winName,features) { //v2.0
  33.   window.open(theURL,winName,features);
  34. }
  35.  
  36. function MM_popupMsg(msg) { //v1.0
  37.   alert(msg);
  38. }
  39. //-->
  40. </SCRIPT>
  41. <!-- ... to here. -->
  42.  
  43. <!-- This is the link to the Cascading Style Sheet (CSS) file. -->
  44. <LINK REL="stylesheet" HREF="css/bpstyles.css" TYPE="text/css">
  45. </HEAD>
  46. <body TEXT="#000000" TOPMARGIN="0" LEFTMARGIN="0" RIGHTMARGIN="0" BOTTOMMARGIN="0" BGCOLOR="#FFFFFF">
  47. <TABLE WIDTH="94%" BORDER="0" ALIGN="CENTER">
  48.     <TR>
  49.         <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
  50.     </TR>
  51.     <TR>
  52.         <!-- TITLE TITLE TITLE TITLE TITLE TITLE TITLE TITLE  -->
  53.         <TD ALIGN="LEFT" CLASS="header1">Add text on a path - An example</TD>
  54.     </TR>
  55.     <TR>
  56.         <TD><HR WIDTH="100%" ALIGN="CENTER"></TD>
  57.     </TR>
  58.     <TR>
  59.         <!-- STEP 1 STEP 1 STEP 1 STEP 1 STEP 1 STEP 1 STEP 1  -->
  60.         <TD CLASS="boldbody">Step 1 - Create new image</TD>
  61.     </TR>
  62.     <TR>
  63.         <TD CLASS="body">Make sure the Materials palette is displayed, and create a new image (by choosing File > New, or by clicking the New Image button on the Standard toolbar; or by clicking the script for this step) using these settings: a) set Width and Height to 200 pixels; b) choose the Vector background option; c) click OK</TD>
  64.     </TR>
  65.     <TR>
  66.         <TD CLASS="body"><A HREF="#" onClick="MM_goToURL('parent','Scripts/NewImage_Vector.PspScript');return document.MM_returnValue"><IMG SRC="images/New_icon.gif" WIDTH="16" HEIGHT="16" BORDER="0"> Perform this step for me.</A></TD>
  67.     </TR>
  68.     <TR>
  69.         <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
  70.     </TR>
  71.     <TR> 
  72.         <!-- STEP 2 STEP 2 STEP 2 STEP 2 STEP 2 STEP 2 STEP 2   -->
  73.         <TD ALIGN="LEFT" CLASS="boldbody">Step 2 - Choose the Preset Shape tool</TD>
  74.     </TR>
  75.     <TR>
  76.         <TD CLASS="body">From the Tools toolbar, choose the Preset Shape tool.</TD>
  77.     </TR>
  78.     <TR>
  79.         <TD CLASS="body"><A HREF="#" onClick="MM_goToURL('parent','Scripts/PresetShapes.PspScript');return document.MM_returnValue"><IMG SRC="images/PresetShapesTool_icon.gif" WIDTH="17" HEIGHT="17" BORDER="0"> Select this tool for me.</A></TD>
  80.     </TR>
  81.     <TR>
  82.         <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
  83.     </TR>
  84.     <TR> 
  85.         <!-- STEP 3 STEP 3 STEP 3 STEP 3 STEP 3 STEP 3 STEP 3   -->
  86.         <TD ALIGN="LEFT" CLASS="boldbody">Step 3 - Choose a shape, set tool options</TD>
  87.     </TR>
  88.     <TR>
  89.         <TD CLASS="body">From the Shapes list in the Tool Options palette, choose any shape. And in the Tool Options palette, make sure the Retain Style, Anti-alias, and Create as vector checkboxes are marked.</TD>
  90.     </TR>
  91.     <TR>
  92.         <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
  93.     </TR>
  94.     <TR>
  95.         <!-- STEP 4 STEP 4 STEP 4 STEP 4 STEP 4 STEP 4 STEP 4   -->
  96.         <TD ALIGN="LEFT" CLASS="boldbody">Step 4 - Draw the shape</TD>
  97.     </TR>
  98.     <TR>
  99.         <TD CLASS="body">Draw the chosen shape on the image canvas.</TD>
  100.     </TR>
  101.         <TR>
  102.         <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
  103.     </TR>
  104.     <TR>
  105.         <!-- STEP 5 STEP 5 STEP 5 STEP 5 STEP 5 STEP 5 STEP 5   -->
  106.         <TD ALIGN="LEFT" CLASS="boldbody">Step 5 - Choose the Text tool</TD>
  107.     </TR>
  108.     <TR>
  109.         <TD CLASS="body">Choose the Text tool.</TD>
  110.     </TR>
  111.     <TR>
  112.         <TD CLASS="body"><A HREF="#" onClick="MM_goToURL('parent','Scripts/Text.PspScript');return document.MM_returnValue"><IMG SRC="images/TextTool_icon.gif" WIDTH="16" HEIGHT="16" VALIGN="baseline" BORDER="0"> Select this tool for me.</A></TD>
  113.         <td></td>
  114.     </TR>
  115.     <TR>
  116.         <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
  117.     </TR>
  118.     <TR>
  119.         <!-- STEP 6 STEP 6 STEP 6 STEP 6 STEP 6 STEP 6 STEP 6   -->
  120.         <TD ALIGN="LEFT" CLASS="boldbody">Step 6 - Set the Tool Options and Color</TD>
  121.     </TR>
  122.     <TR>
  123.         <TD CLASS="body">Make the following Text Tool Options and Materials palette settings: a) set Create As to Vector; b) set Font to Arial; c) set Size to 20; d) set Alignment to Center; e) set Offset to 2; f) in the Materials palette, set the Background/Fill to any darker, solid color.</TD>
  124.     </TR>
  125.     <TR>
  126.         <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
  127.     </TR>
  128.     <TR>
  129.         <!-- STEP 7 STEP 7 STEP 7 STEP 7 STEP 7 STEP 7 STEP 7   -->
  130.         <TD ALIGN="LEFT" CLASS="boldbody">Step 7 - Place cursor over shape</TD>
  131.     </TR>
  132.     <TR>
  133.         <TD CLASS="body">Place the Text tool cursor over the top center of the preset shape (notice how the cursor icon changes to an angled "A" with a curve below it), and then click. The Text Entry dialog appears.</TD>
  134.     </TR>
  135.     <TR>
  136.         <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
  137.     </TR>
  138.     <TR>
  139.         <!-- STEP 8 STEP 8 STEP 8 STEP 8 STEP 8 STEP 8 STEP 8   -->
  140.         <TD ALIGN="LEFT" CLASS="boldbody">Step 8 - Enter text and click Apply</TD>
  141.     </TR>
  142.     <TR>
  143.         <TD CLASS="body">Type "Text on a Path", and then click Apply.</TD>
  144.     </TR>
  145.     <TR>
  146.         <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
  147.     </TR>
  148.     <TR>
  149.         <!-- Notes and Tips Notes and Tips Notes and Tips -->
  150.         <TD VALIGN="TOP" ALIGN="LEFT" CLASS="boldbody">Notes and Tips:</TD>
  151.     </TR>
  152.     <TR>
  153.         <TD>
  154.             <TABLE BORDER="0" CELLSPACING="2" CELLPADDING="2">
  155.                 <TR>
  156.                     <TD VALIGN="TOP"><IMG SRC="images/bullet.gif" WIDTH="5" HEIGHT="9" BORDER="0"></TD>
  157.                     <TD VALIGN="TOP" CLASS="body">To place text on top of a vector path without attaching to the object or path, hold down Alt and then click where you want to place the text.</TD>
  158.                 </TR>
  159.                 <TR>
  160.                     <TD VALIGN="TOP"><IMG SRC="images/bullet.gif" WIDTH="5" HEIGHT="9" BORDER="0"></TD>
  161.                     <TD VALIGN="TOP" CLASS="body">To quickly modify the image so just the curved text is visible, in the Layer palette, toggle off the visibility of the Preset Shape object.</TD>
  162.                 </TR>
  163.                 <TR>
  164.                     <TD VALIGN="TOP"><IMG SRC="images/bullet.gif" WIDTH="5" HEIGHT="9" BORDER="0"></TD>
  165.                     <TD VALIGN="TOP" CLASS="body">Use positive Offset values to place the text above the object path; use negative values to place the text below the path.</TD>
  166.                 </TR>
  167.             </TABLE>
  168.         </TD>
  169.     </TR>
  170.     <TR>
  171.            <!-- Horizontal Rule Horizontal Rule Horizontal Rule Horizontal Rule Horizontal Rule    -->
  172.         <TD><HR WIDTH="100%"></TD>
  173.     </TR>
  174.     <TR>
  175.         <TD ALIGN="LEFT" CLASS="boldbody">Learn More:</TD>
  176.     </TR>
  177.     <TR>
  178.         <TD CLASS="body"><A HREF="../Place text on top of vector objects/index.htm"><IMG SRC="images/quickguide.gif" WIDTH="16" HEIGHT="16" BORDER="0"></A> <A HREF="../Place text on top of vector objects/index.htm">Place text on top of vector objects</A></TD>
  179.     </TR>
  180.     <TR>
  181.         <TD CLASS="body"><A HREF="../Add a picture frame/index.htm"><IMG SRC="images/quickguide.gif" WIDTH="16" HEIGHT="16" BORDER="0"></A> <A HREF="../Add a picture frame/index.htm">Add a picture frame</A></TD>
  182.     </TR>
  183.     <TR>
  184.         <TD CLASS="body"><A HREF="../../Productivity/Create a tool Preset - An example/index.htm"><IMG SRC="images/quickguide.gif" WIDTH="16" HEIGHT="16" BORDER="0"></A> <A HREF="../../Productivity/Create a tool Preset - An example/index.htm">Create a tool Preset - An example</A></TD>
  185.     </TR>
  186.     <TR>
  187.         <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
  188.     </TR>
  189. </TABLE>
  190. </body>
  191. </HTML>
  192.